package com.dashan.singleton;

public class Test {
	
	public static void main(String[] args) {
		
		Singleton instance = Singleton.getInstance();
		Singleton instance2 = Singleton.getInstance();
		Singleton instance3 = Singleton.getInstance();
		
		System.out.println(instance == instance2);
		System.out.println(instance3 == instance2);

	}
}
